package com.lightkits.wms.client;

import com.lightkits.demand.dto.demandorder.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * DoServiceClient
 *
 * @author lanmi.xin@gmail.com
 * Created on 2019-05-19 21:14
 */
@FeignClient(value = "OS-DO-SERVICE")
public interface DoServiceClient {
    @PostMapping(value = "/DoService/getDoInfo")
    QueryDoInfoResponseType getDoInfo(QueryDoInfoRequestType request);

    @PostMapping(value = "/DoService/getInitialInfo")
    GetInitialInfoResponseType getInitialInfo(GetInitialInfoRequestType request);

    @PostMapping(value = "/DoService/saveDo")
    SaveDoResponseType saveDo(SaveDoRequestType request);

    @PostMapping(value = "/DoService/getDoDetail")
    GetSingleDoInfoResponseType getDoDetail(GetSingleDoInfoRequestType request);
}
